${extension} empty after catch-all alias in Postfix
Posted
by Paul Wagener
on Server Fault
See other posts from Server Fault
or by Paul Wagener
Published on 2010-02-12T21:44:54Z
Indexed on
2010/03/16
0:10 UTC
Read the original article
Hit count: 342
I want a setup where an e-mailaddress like [email protected] redirects mail to the folder foo. I've already got dovecot configured and tested. It is called by postfix with this line in master.cf:
dovecot unix - n n - - pipe
flags=DRhu user=vmail:vmail argv=/usr/lib/dovecot/deliver -f ${sender} -d ${user}@${nexthop} -n -m ${extension}
I expect ${extension} to expand to 'foo' but it is always empty.
I've added
recipient_delimiter = +
to my main.cf.
How can I get it to work?
Update: I've got a catch-all alias that redirects @domain.com to [email protected]. It seems that the extension is empty because of this. So the question becomes: Can I have a catch-all so that [email protected] redirects to [email protected] without explicitly defining either the random or the ext part?
© Server Fault or respective owner